package com.dobest.aspectdemo.web;

import com.dobest.aspectdemo.ParamCheck;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Package: com.dobest.aspectdemo
 * @author: hujiansong
 * @date: 2018/8/6 11:53
 * @version: V1.0
 */
@RestController
public class HelloController {


    @GetMapping("/")
    public String test(@ParamCheck String name){
        return "heelo";
    }

}
